package com.ruoyi.develop.goodsInvoiceInfo.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开票明细信息对象 goods_invoice_info
 *
 * @author qh
 * @date 2023-12-05
 */
public class GoodsInvoiceInfo extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 序列号 */
    private String nos;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 开票金额 */
    @Excel(name = "开票金额")
    private BigDecimal invoiceMoney;

    /** 开票日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "开票日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date invoiceDate;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String infomation;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 主表ID */
    @Excel(name = "主表ID")
    private String mainId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 发票代码 */
    @Excel(name = "发票代码")
    private String preNo;

    /** 发票编号 */
    @Excel(name = "发票编号")
    private String taxNo;

    /** 发票状态 */
    @Excel(name = "发票状态")
    private String status;

    /** 已回金额 */
    @Excel(name = "已回金额")
    private BigDecimal backMoney;

    /** 剩余金额 */
    @Excel(name = "剩余金额")
    private BigDecimal remainMoney;
    private String image;
    private String projectNo;
    private String customerName;
    private String saleName;

    public String getNos() {
        return nos;
    }

    public void setNos(String nos) {
        this.nos = nos;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getSaleName() {
        return saleName;
    }

    public void setSaleName(String saleName) {
        this.saleName = saleName;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public void setId(String id) { this.id = id;  }

    public String getId()
            {
            return id;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setInvoiceMoney(BigDecimal invoiceMoney)
            {
            this.invoiceMoney = invoiceMoney;
            }

    public BigDecimal getInvoiceMoney()
            {
            return invoiceMoney;
            }
    public void setInvoiceDate(Date invoiceDate)
            {
            this.invoiceDate = invoiceDate;
            }

    public Date getInvoiceDate()
            {
            return invoiceDate;
            }
    public void setInfomation(String infomation)
            {
            this.infomation = infomation;
            }

    public String getInfomation()
            {
            return infomation;
            }
    public void setProjectId(String projectId)
            {
            this.projectId = projectId;
            }

    public String getProjectId()
            {
            return projectId;
            }
    public void setMainId(String mainId)
            {
            this.mainId = mainId;
            }

    public String getMainId()
            {
            return mainId;
            }
    public void setProjectName(String projectName)
            {
            this.projectName = projectName;
            }

    public String getProjectName()
            {
            return projectName;
            }
    public void setPreNo(String preNo)
            {
            this.preNo = preNo;
            }

    public String getPreNo()
            {
            return preNo;
            }
    public void setTaxNo(String taxNo)
            {
            this.taxNo = taxNo;
            }

    public String getTaxNo()
            {
            return taxNo;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setBackMoney(BigDecimal backMoney)
            {
            this.backMoney = backMoney;
            }

    public BigDecimal getBackMoney()
            {
            return backMoney;
            }
    public void setRemainMoney(BigDecimal remainMoney)
            {
            this.remainMoney = remainMoney;
            }

    public BigDecimal getRemainMoney()
            {
            return remainMoney;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
            .append("invoiceMoney",getInvoiceMoney())
            .append("invoiceDate",getInvoiceDate())
            .append("infomation",getInfomation())
            .append("projectId",getProjectId())
            .append("mainId",getMainId())
            .append("projectName",getProjectName())
            .append("preNo",getPreNo())
            .append("taxNo",getTaxNo())
            .append("status",getStatus())
            .append("backMoney",getBackMoney())
            .append("remainMoney",getRemainMoney())
        .toString();
    }
}
